package com.xbongbong.paas.pojo.vo;

import com.xbongbong.paas.toolbox.wrap.BaseVO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @author: wufeng
 * @date: 2018/9/6 15:25
 * @desrcption: 表单数据删除
 */
@Getter
@Setter
@ToString
public class FormDataDeleteBatchVO extends BaseVO {

    private static final long serialVersionUID = 7209304203048271010L;

    /**
     * 不允许删除的列表
     */
    private List<String> errorDataList;
    /**
     * 错误列表
     */
    private List<String> errorTypeList;
    /**
     * 不允许删除的提示
     */
    private String errorDataMemo;
    /**
     * 前端传来的值用来控制删除是否等待
     */
    private Boolean await;

    private List<Long> deleteIds;


    public FormDataDeleteBatchVO() {
    }

    public FormDataDeleteBatchVO(List<String> errorDataList, List<String> errorTypeList, String errorDataMemo, List<Long> deleteIds) {
        this.errorDataList = errorDataList;
        this.errorTypeList = errorTypeList;
        this.errorDataMemo = errorDataMemo;
        this.deleteIds = deleteIds;
    }

    public FormDataDeleteBatchVO(List<String> errorDataList, List<String> errorTypeList, String errorDataMemo, Boolean await, List<Long> deleteIds) {
        this.errorDataList = errorDataList;
        this.errorTypeList = errorTypeList;
        this.errorDataMemo = errorDataMemo;
        this.await = await;
        this.deleteIds = deleteIds;
    }
}
